package com.cskaoyan.controller.wx;

import com.cskaoyan.bean.BaseRespVo;
import com.cskaoyan.bean.bo.IssueCreateBO;
import com.cskaoyan.bean.param.BaseWxParam;
import com.cskaoyan.bean.vo.IssueListVO;
import com.cskaoyan.service.IssueListService;
import com.cskaoyan.service.IssueService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**小程序帮助中心
 * @author :LuoXuXin
 * @version : $version
 * @date :Created in 2022/4/12   10:00
 * @description:
 * @return:
 */
@RestController
@RequestMapping("wx/issue")
public class IssueListController {
    @Autowired
    IssueListService issueService;

    @GetMapping("list")
    public BaseRespVo issueList(BaseWxParam baseWxParam) {
        IssueListVO issueListVO = issueService.issueList(baseWxParam);
        return BaseRespVo.ok(issueListVO);
    }
}
